<script setup lang="ts">
import User from './user';

defineProps<{
  user: User,
}>();
</script>

<template>
  <div class="container">
    <a-avatar :src="user.avatarUrl"></a-avatar>
    <div :style="{ marginLeft: '5px' }">{{ user.fullName }}</div>
  </div>
</template>

<style scoped>
.container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
</style>